package com.wskj.workbench.vo.app;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


/**
 * 产品类目视图对象 tz_category
 *
 * @author wsdz
 * @date 2022-09-26
 */
@Data
@ApiModel("APP产品类目视图对象")
public class AppTbCategoryVo {

	private static final long serialVersionUID = 1L;

	/** 类目ID */
	@ApiModelProperty("类目ID")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long categoryId;

	/** 父节点 */
	@ApiModelProperty("父节点")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long parentId;

	/** 产品类目名称 */
	@ApiModelProperty("产品类目名称")
	private String categoryName;

	/** 类目的显示图片 */
	@ApiModelProperty("类目的显示图片")
	private String pic;

	@ApiModelProperty("产品分类子类集合")
	private List<AppTbCategoryVo> childrenList;

}
